/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   Module Name          : com.yaodian100.supplier.entity.Supplier
   Module Description   :

   Date Created      : 2009/11/10
   Original Author   : yaote.tsai
   Team              : yaodian100
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   MODIFICATION HISTORY
   ------------------------------------------------------------------------------
   Date Modified       Modified by       Comments
   ------------------------------------------------------------------------------
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
package com.yaodian100.ec.supplierapply;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import com.yaodian100.core.common.entity.BaseEntity;

/**
 * @author yaote.tsai
 * 
 */
//@Entity
//@Table(name = "ERP_MASTER_SUPPLIER")
public class Supplier extends BaseEntity {
    /** serialVersionUID */
    private static final long serialVersionUID = 4847192065335692951L;
    /** 廠商編號 **/
    @Id
    @GeneratedValue(generator = "assigned")
    @GenericGenerator(name = "assigned", strategy = "assigned")
    @Column(name = "SUPPLIER_ID", length = 6)
    private String supplierID;
    /** 統一編號 **/
    @Column(name = "COMPANY_NUM", length = 200)
    private String companyNum;
    /** 公司名稱 **/
    @Column(name = "COMPANY_NAME", length = 200)
    private String companyName;
    /** 負責人 **/
    @Column(name = "OWNER_NAME", length = 200)
    private String ownerName;
    /** 負責人身分證字號 **/
    @Column(name = "OWNER_ID", length = 200)
    private String ownerID;
    /** 公司電話 **/
    @Column(name = "COMPANY_PHONE", length = 200)
    private String companyPhone;
    /** 公司傳真 **/
    @Column(name = "COMPANY_FAX", length = 200)
    private String companyFax;
    /** 公司住址 **/
    @Column(name = "COMPANY_ADDRESS", length = 200)
    private String companyAddress;
    /** 發票抬頭 **/
    @Column(name = "INVOICE_TITLE", length = 200)
    private String invoiceTitle;
    /** 發票地址 **/
    @Column(name = "INVOICE_ADDRESS", length = 200)
    private String invoiceAddress;
    /** 聯絡人 **/
    @Column(name = "CONTACT_NAME", length = 200)
    private String contactName;
    /** 聯絡人住址 **/
    @Column(name = "CONTACT_ADDRESS", length = 200)
    private String contactAddress;
    /** 聯絡人電話 **/
    @Column(name = "CONTACT_PHONE", length = 200)
    private String contactPhone;
    /** 聯絡人傳真 **/
    @Column(name = "CONTACT_FAX", length = 200)
    private String contactFax;
    /** 聯絡人EMAIL **/
    @Column(name = "CONTACT_EMAIL", length = 200)
    private String contactEmail;
    /** 維修窗口 **/
    @Column(name = "SERVICE_NAME", length = 200)
    private String serviceName;
    /** 維修窗口地址 **/
    @Column(name = "SERVICE_ADDRESS", length = 200)
    private String serviceAddress;
    /** 維修窗口電話 **/
    @Column(name = "SERVICE_PHONE", length = 200)
    private String servicePhone;
    /** 維修窗口傳真 **/
    @Column(name = "SERVICE_FAX", length = 200)
    private String serviceFax;
    /** 維修窗口EMAIL **/
    @Column(name = "SERVICE_EMAIL", length = 200)
    private String serviceEmail;
    /** 產業別 **/
    @Column(name = "INDUSTRY", length = 200)
    private String industry;
    /** 集團代號 **/
    @Column(name = "GROUP_ID", length = 200)
    private String groupID;
    /** 集團 **/
    @Column(name = "GROUP_NAME", length = 200)
    private String groupName;
    /** 付款規則 **/
    @Column(name = "PAYMENT_TERM", length = 200)
    private String paymentTerm;
    /** 使用貨幣 **/
    @Column(name = "PAYMENT_CURRENCY", length = 200)
    private String paymentCurrency;
    /** 代理商 **/
    @Column(name = "AGENT", length = 200)
    private String agent;
    /** 區域：1-大陸地區(不含港澳台);2-香港;3-澳門;4-台灣 **/
    @Column(name = "AREA", length = 200)
    private String area;
    /** 貿易條款 **/
    @Column(name = "INCOTERM", length = 200)
    private String incoterm;
    /**  **/
    @Column(name = "PRICING_DATA_CATRGORY", length = 200)
    private String pricingDataCatrgory;
    /** 銀行名稱 **/
    @Column(name = "BANKNAME", length = 200)
    private String bankName;
    /** 銀行戶名 **/
    @Column(name = "BANK_ACCOUNT_NAME", length = 200)
    private String bankAccountName;
    /** 銀行帳號 **/
    @Column(name = "BANK_ACCOUNT_NUM", length = 200)
    private String bankAccountNum;
    /** 審核狀態 **/
    @Column(name = "APPROVE_STATUS")
    private int approveStatus;
    /** 審核by **/
    @Column(name = "APPROVE_BY", length = 200)
    private String approveBy;
    /** 廠商狀態 **/
    @Column(name = "STATUS")
    private int status;
    /** MEMO **/
    @Column(name = "MEMO", length = 200)
    private String memo;

    public Supplier() {
	super();
	// TODO Auto-generated constructor stub
    }

    /**
     * @return the supplierID
     */
    public String getSupplierID() {
	return supplierID;
    }

    /**
     * @param supplierID
     *            the supplierID to set
     */
    public void setSupplierID(String supplierID) {
	this.supplierID = supplierID;
    }

    /**
     * @return the companyNum
     */
    public String getCompanyNum() {
	return companyNum;
    }

    /**
     * @param companyNum
     *            the companyNum to set
     */
    public void setCompanyNum(String companyNum) {
	this.companyNum = companyNum;
    }

    /**
     * @return the companyName
     */
    public String getCompanyName() {
	return companyName;
    }

    /**
     * @param companyName
     *            the companyName to set
     */
    public void setCompanyName(String companyName) {
	this.companyName = companyName;
    }

    /**
     * @return the owerName
     */
    public String getOwnerName() {
	return ownerName;
    }

    /**
     * @param owerName
     *            the owerName to set
     */
    public void setOwnerName(String ownerName) {
	this.ownerName = ownerName;
    }

    /**
     * @return the ownerID
     */
    public String getOwnerID() {
	return ownerID;
    }

    /**
     * @param ownerID
     *            the ownerID to set
     */
    public void setOwnerID(String ownerID) {
	this.ownerID = ownerID;
    }

    /**
     * @return the companyPhone
     */
    public String getCompanyPhone() {
	return companyPhone;
    }

    /**
     * @param companyPhone
     *            the companyPhone to set
     */
    public void setCompanyPhone(String companyPhone) {
	this.companyPhone = companyPhone;
    }

    /**
     * @return the companyFax
     */
    public String getCompanyFax() {
	return companyFax;
    }

    /**
     * @param companyFax
     *            the companyFax to set
     */
    public void setCompanyFax(String companyFax) {
	this.companyFax = companyFax;
    }

    /**
     * @return the companyAddress
     */
    public String getCompanyAddress() {
	return companyAddress;
    }

    /**
     * @param companyAddress
     *            the companyAddress to set
     */
    public void setCompanyAddress(String companyAddress) {
	this.companyAddress = companyAddress;
    }

    /**
     * @return the invoiceTitle
     */
    public String getInvoiceTitle() {
	return invoiceTitle;
    }

    /**
     * @param invoiceTitle
     *            the invoiceTitle to set
     */
    public void setInvoiceTitle(String invoiceTitle) {
	this.invoiceTitle = invoiceTitle;
    }

    /**
     * @return the invoiceAddress
     */
    public String getInvoiceAddress() {
	return invoiceAddress;
    }

    /**
     * @param invoiceAddress
     *            the invoiceAddress to set
     */
    public void setInvoiceAddress(String invoiceAddress) {
	this.invoiceAddress = invoiceAddress;
    }

    /**
     * @return the contactName
     */
    public String getContactName() {
	return contactName;
    }

    /**
     * @param contactName
     *            the contactName to set
     */
    public void setContactName(String contactName) {
	this.contactName = contactName;
    }

    /**
     * @return the contactAddress
     */
    public String getContactAddress() {
	return contactAddress;
    }

    /**
     * @param contactAddress
     *            the contactAddress to set
     */
    public void setContactAddress(String contactAddress) {
	this.contactAddress = contactAddress;
    }

    /**
     * @return the contactPhone
     */
    public String getContactPhone() {
	return contactPhone;
    }

    /**
     * @param contactPhone
     *            the contactPhone to set
     */
    public void setContactPhone(String contactPhone) {
	this.contactPhone = contactPhone;
    }

    /**
     * @return the contactFax
     */
    public String getContactFax() {
	return contactFax;
    }

    /**
     * @param contactFax
     *            the contactFax to set
     */
    public void setContactFax(String contactFax) {
	this.contactFax = contactFax;
    }

    /**
     * @return the contactEmail
     */
    public String getContactEmail() {
	return contactEmail;
    }

    /**
     * @param contactEmail
     *            the contactEmail to set
     */
    public void setContactEmail(String contactEmail) {
	this.contactEmail = contactEmail;
    }

    /**
     * @return the serviceName
     */
    public String getServiceName() {
	return serviceName;
    }

    /**
     * @param serviceName
     *            the serviceName to set
     */
    public void setServiceName(String serviceName) {
	this.serviceName = serviceName;
    }

    /**
     * @return the serviceAddress
     */
    public String getServiceAddress() {
	return serviceAddress;
    }

    /**
     * @param serviceAddress
     *            the serviceAddress to set
     */
    public void setServiceAddress(String serviceAddress) {
	this.serviceAddress = serviceAddress;
    }

    /**
     * @return the servicePhone
     */
    public String getServicePhone() {
	return servicePhone;
    }

    /**
     * @param servicePhone
     *            the servicePhone to set
     */
    public void setServicePhone(String servicePhone) {
	this.servicePhone = servicePhone;
    }

    /**
     * @return the serviceFax
     */
    public String getServiceFax() {
	return serviceFax;
    }

    /**
     * @param serviceFax
     *            the serviceFax to set
     */
    public void setServiceFax(String serviceFax) {
	this.serviceFax = serviceFax;
    }

    /**
     * @return the serviceEmail
     */
    public String getServiceEmail() {
	return serviceEmail;
    }

    /**
     * @param serviceEmail
     *            the serviceEmail to set
     */
    public void setServiceEmail(String serviceEmail) {
	this.serviceEmail = serviceEmail;
    }

    /**
     * @return the industry
     */
    public String getIndustry() {
	return industry;
    }

    /**
     * @param industry
     *            the industry to set
     */
    public void setIndustry(String industry) {
	this.industry = industry;
    }

    /**
     * @return the groupID
     */
    public String getGroupID() {
	return groupID;
    }

    /**
     * @param groupID
     *            the groupID to set
     */
    public void setGroupID(String groupID) {
	this.groupID = groupID;
    }

    /**
     * @return the groupName
     */
    public String getGroupName() {
	return groupName;
    }

    /**
     * @param groupName
     *            the groupName to set
     */
    public void setGroupName(String groupName) {
	this.groupName = groupName;
    }

    /**
     * @return the paymentTerm
     */
    public String getPaymentTerm() {
	return paymentTerm;
    }

    /**
     * @param paymentTerm
     *            the paymentTerm to set
     */
    public void setPaymentTerm(String paymentTerm) {
	this.paymentTerm = paymentTerm;
    }

    /**
     * @return the paymentCurrency
     */
    public String getPaymentCurrency() {
	return paymentCurrency;
    }

    /**
     * @param paymentCurrency
     *            the paymentCurrency to set
     */
    public void setPaymentCurrency(String paymentCurrency) {
	this.paymentCurrency = paymentCurrency;
    }

    /**
     * @return the agent
     */
    public String getAgent() {
	return agent;
    }

    /**
     * @param agent
     *            the agent to set
     */
    public void setAgent(String agent) {
	this.agent = agent;
    }

    /**
     * @return the area
     */
    public String getArea() {
	return area;
    }

    /**
     * @param area
     *            the area to set
     */
    public void setArea(String area) {
	this.area = area;
    }

    /**
     * @return the incoterm
     */
    public String getIncoterm() {
	return incoterm;
    }

    /**
     * @param incoterm
     *            the incoterm to set
     */
    public void setIncoterm(String incoterm) {
	this.incoterm = incoterm;
    }

    /**
     * @return the pricingDataCatrgory
     */
    public String getPricingDataCatrgory() {
	return pricingDataCatrgory;
    }

    /**
     * @param pricingDataCatrgory
     *            the pricingDataCatrgory to set
     */
    public void setPricingDataCatrgory(String pricingDataCatrgory) {
	this.pricingDataCatrgory = pricingDataCatrgory;
    }

    /**
     * @return the bankAccount
     */
    public String getBankAccountName() {
	return bankAccountName;
    }

    /**
     * @param bankAccount
     *            the bankAccount to set
     */
    public void setBankAccountName(String bankAccountName) {
	this.bankAccountName = bankAccountName;
    }

    /**
     * @return the bankAccountNum
     */
    public String getBankAccountNum() {
	return bankAccountNum;
    }

    /**
     * @param bankAccountNum
     *            the bankAccountNum to set
     */
    public void setBankAccountNum(String bankAccountNum) {
	this.bankAccountNum = bankAccountNum;
    }

    /**
     * @return the approveStatus
     */
    public Integer getApproveStatus() {
	return approveStatus;
    }

    /**
     * @return the approveStatus
     */
    public String getApproveStatusString() {
	return String.valueOf(approveStatus);
    }

    /**
     * @param approveStatus
     *            the approveStatus to set
     */
    public void setApproveStatus(int approveStatus) {
	this.approveStatus = approveStatus;
    }

    /**
     * @return the approveBy
     */
    public String getApproveBy() {
	return approveBy;
    }

    /**
     * @param approveBy
     *            the approveBy to set
     */
    public void setApproveBy(String approveBy) {
	this.approveBy = approveBy;
    }

    /**
     * @return the status
     */
    public int getStatus() {
	return status;
    }

    public String getStatusString() {
	return String.valueOf(status);
    }

    /**
     * @param status
     *            the status to set
     */
    public void setStatus(int status) {
	this.status = status;
    }

    /**
     * @return the bankName
     */
    public String getBankName() {
	return bankName;
    }

    /**
     * @param bankName
     *            the bankName to set
     */
    public void setBankName(String bankName) {
	this.bankName = bankName;
    }

    /**
     * @return the memo
     */
    public String getMemo() {
	return memo;
    }

    /**
     * @param memo
     *            the memo to set
     */
    public void setMemo(String memo) {
	this.memo = memo;
    }

}
